package com.example.statemachine.service;

import com.example.statemachine.entity.Credential;

import java.util.List;

/**
 * @author jianwei.wang
 * @version v1.0
 * @date 2019/5/9 15:17
 **/
public interface CredentialService {

    List<Credential> all();

    void tempStorage(Credential credential);

    void submit(Credential credential);

    void withDraw(Credential credential);

    void review(Credential credential);

    void antiReview(Credential credential);
}
